package com.ys.entity.administration;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="ADM_SignetManage", catalog="Id")
public class AdmSignetManage extends BaseEntity<AdmSignetManage> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="SignetName", nameJava="signetName", typeDataBase="varchar")
	private String signetName;
	@YsField(nameDataBase="SignetType", nameJava="signetType", typeDataBase="tinyint")
	private Integer signetType;
	@YsField(nameDataBase="SignetStatus", nameJava="signetStatus", typeDataBase="tinyint")
	private Integer signetStatus;
	@YsField(nameDataBase="UpdateUser", nameJava="updateUser", typeDataBase="varchar")
	private String updateUser;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public AdmSignetManage setId(Long id) {
		this.id = id;
		return this;
	}
	public String getCode() {
		return code;
	}
	public AdmSignetManage setCode(String code) {
		this.code = code;
		return this;
	}
	public String getSignetName() {
		return signetName;
	}
	public AdmSignetManage setSignetName(String signetName) {
		this.signetName = signetName;
		return this;
	}
	public Integer getSignetType() {
		return signetType;
	}
	public AdmSignetManage setSignetType(Integer signetType) {
		this.signetType = signetType;
		return this;
	}
	public Integer getSignetStatus() {
		return signetStatus;
	}
	public AdmSignetManage setSignetStatus(Integer signetStatus) {
		this.signetStatus = signetStatus;
		return this;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public AdmSignetManage setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public AdmSignetManage setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public AdmSignetManage setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public AdmSignetManage setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static AdmSignetManage admSignetManage(
		String code,
		String signetName,
		Integer signetType,
		Integer signetStatus,
		String updateUser,
		Integer status
			) {
		AdmSignetManage entity = new AdmSignetManage();
		entity.setCode(code);
		entity.setSignetName(signetName);
		entity.setSignetType(signetType);
		entity.setSignetStatus(signetStatus);
		entity.setUpdateUser(updateUser);
		entity.setStatus(status);
		return entity;
	}
}